<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
  <head>
    <title>工作界面</title>
    <style type="text/css">
    	body{
    		padding:0px;
    		margin:0px;
    	}
    	#workingDiv{
    		width:820px;
    		font-size:20px;
    		font-family:"微软雅黑";
    		margin-left:10px;
    	}
    	#acontent{
    		width:700px;
    		height:300px;
    		margin-top:20px;
    		font-size:20px;
    		font-family:"微软雅黑";
    	}
    	#title{
    		width:700px;
    		height:25px;
    		font-size:20px;
    	}
    	.stepDiv{
    		margin-top:10px;
    		width:500px;
    		height:30px;
    		line-height:30px;
    		margin-left:60px;
    	}
    	#workButtonDiv{
    		width:500px;
    		height:40px;
    		margin-top:10px;
    	}
    	.workButton{
    		width:100px;
    		height:40px;
    		margin-top:10px;
    		margin-left:60px;
    	}
    </style>
  </head>
  <body>
  	<div id="workingDiv">
    <s:if test="workstream!=null">
    	<h2 align="center"><s:property value="workstream.wsname"/></h2>
    	<s:form action="cc/askAction!doWork.action">
    		标题：<input id="title" type="text" name="ask.title"/><br/>
    		内容：<textarea id="acontent" name="ask.acontent"></textarea><br/><br/>
    		所需流程：<br/>
    		<s:iterator value="workstream.workstreamSteps" var="workstreamStep">
    			<div class="stepDiv"><s:property value="#workstreamStep.step.stepname"/></div>
    		</s:iterator>
    		<input type="hidden" value="<s:property value="workstream.wsid"/>" name="ask.workstream.wsid"/>
    		<div id="workButtonDiv">
    			<input type="submit" value="提交" class="workButton"/>
    			<input type="reset" value="重写" class="workButton"/>
    		</div>
    	</s:form>
    </s:if>
    <s:else>
    	请选择具体操作
    </s:else>
    </div>
  </body>
</html>
